package net.uhuijia.user.usermall.clientservice;


import org.springframework.stereotype.Component;

import feign.hystrix.FallbackFactory;
import net.uhuijia.user.usermall.persistence.model.UserMall;

@Component // 不要忘记添加，不要忘记添加
public class UserMallClientServiceFallbackFactory implements FallbackFactory<UserMallClientService>
{
	@Override
	public UserMallClientService create(Throwable throwable)
	{
		return new UserMallClientService() {

			@Override
			public UserMall auth(String device, String token) {
				return null;
			}
			
		};
	}
}
